package com.woniu.pojo;

import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.math.BigDecimal;
import java.time.LocalDateTime;
import java.util.Date;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;

/**
 * <p>
 * 
 * </p>
 *
 * @author xie
 * @since 2022-10-12
 */
@Getter
@Setter
  @TableName("k_member")
@ApiModel(value = "Member对象", description = "会员")
public class Member implements Serializable {

    private static final long serialVersionUID = 1L;

      @ApiModelProperty("主键")
        private String id;

      @ApiModelProperty("会员名字")
      private String name;

      @ApiModelProperty("性别，0:男 1：女")
      private Integer sex;

      @ApiModelProperty("会员电话")
      private String tel;

      @ApiModelProperty("昵称")
      private String nickName;

      @ApiModelProperty("生日")
      private LocalDateTime birthday;

      @ApiModelProperty("身份证号码")
      private String idCard;

      @ApiModelProperty("职业")
      private String job;

      @ApiModelProperty("身高")
      private Object height;

      @ApiModelProperty("体重")
      private Object weight;

      @ApiModelProperty("所属城市")
      private String city;

      @ApiModelProperty("健身经验，0：小白 1：健身爱好者 2：健身教练")
      private Integer experience;

      @ApiModelProperty("健身目的，0：减脂 1：增脂 2：增肌 3：修身")
      private Integer item;

      @ApiModelProperty("金额")
      private BigDecimal money;

      @ApiModelProperty("状态，0：关闭 1：开启")
      private Integer status;

      @ApiModelProperty("教练id")
      private String coachId;

      @ApiModelProperty("图片")
      private String img;

      @ApiModelProperty("等级id")
      private String levelId;

      @ApiModelProperty("创建时间")
      @TableField(fill = FieldFill.INSERT)
      private Date createTime;
}
